﻿
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System;

namespace RATSharp.Rest
{
    /// <summary>
    /// Class representing Properties set used widely in application context.
    /// </summary>
    public class RestProperties : EventArgs
    {
        /// <summary>
        /// Property URL
        /// </summary>
        public string url { get; private set; }

        /// <summary>
        /// Property port.
        /// </summary>
        public int port { get; private set; }

        /// <summary>
        /// Property username.
        /// </summary>
        public string username { get; private set; }

        /// <summary>
        /// Property password.
        /// </summary>
        public string password { get; private set; }
        /// <summary>
        /// Property path.
        /// </summary>
        public string path { get; private set; }
        /// <summary>
        /// Default constructor
        /// </summary>
        /// <param name="url">url</param>
        /// <param name="port">port</param>
        /// <param name="username">username</param>
        /// <param name="password">password</param>
        /// <param name="path">path</param>
        public RestProperties(string url, int port, string username, string password, string path)
        {
            this.url = url;
            this.port = port;
            this.username = username;
            this.password = password;
            this.path = path;
        }
    }
}
